package com.smartodo.utils;

import java.text.SimpleDateFormat;


public class STask {
	public int taskid = 0;
	public String loginid = "";
	public String task_name = "";
	public String priority = "";
	public java.sql.Date datetime = null;
	public int day =0;
	public int month = 0;
	public int year = 0;

	public String getDateStr()
	{
		String strDate = "";
		if(this.datetime == null)
		{
			return strDate;
		}
		
		SimpleDateFormat sdf_task = new SimpleDateFormat("MM/dd/yyyy");
		strDate = sdf_task.format(this.datetime.getTime());

		return strDate;
	}
}
